#if !defined(AFX_DATARECDLG_H__F483160A_B4A5_4256_9E4A_38D77291742B__INCLUDED_)
#define AFX_DATARECDLG_H__F483160A_B4A5_4256_9E4A_38D77291742B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DataRecDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDataRecDlg dialog

class CDataRecDlg : public CDialog
{
// Construction
public:
	void InitData(char *begtime,char *endtime);
	CDataRecDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDataRecDlg)
	enum { IDD = IDD_DATAREC_DLG };
	CListCtrl	m_lstDatas;
	CTime	m_endTime;
	CTime	m_startTime;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDataRecDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDataRecDlg)
	afx_msg void OnBtnSearch();
	afx_msg void OnBtnExport();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	int CheckTime();
	CString m_btime;
	CString m_etime;
	_variant_t m_vchnID,m_vchnName;
	_variant_t m_vchn[8];
	_variant_t m_vcreatetime;
	_RecordsetPtr m_pRecordset;
	_RecordsetPtr m_pRecordset2;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DATARECDLG_H__F483160A_B4A5_4256_9E4A_38D77291742B__INCLUDED_)
